package com.origin.src;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;

@Configurable
@Scope(proxyMode = ScopedProxyMode.TARGET_CLASS)
public class XConfigurable {


    @Autowired
    XBeanA xBeanA;

    public void to() {
        System.out.println(xBeanA.XBeanB != null);
    }

}
